﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsForms11_23
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            // TODO: 这行代码将数据加载到表“xscj_DataDataSet.Student”中。您可以根据需要移动或移除它。
            
            
        }

        private void button1_Click(object sender, EventArgs e)
        {
            li l = new li();
            l.Xingming = "姓名";
            l.Xuehao = "1000161";
            l.Xingbie = "男";
            //dataGridView1.Rows.Add(l.Xingming,l.Xuehao,l.Xingbie);
            dataGridView1.Rows.Add("姓名","学号","性别");
        }

        
    }
}
